.border.radius8.sellTops(ng-controller='App.SellTopsCtrl')
	h2 销售排行
	ul.tab(ng-init="fetch('fund');tab=1")
		li.yui3-u-1-3
			a.last(href='#', ng-class='{selectedItem: tab==1}', onclick='return false', ng-click="fetch('fund');tab=1") 基金产品
		li.yui3-u-1-3
			a.last(href='#', ng-class='{selectedItem: tab==2}', onclick='return false', ng-click="fetch('money');tab=2") 理财产品
		li.yui3-u-1-3
			a(href='#', ng-class='{selectedItem: tab==3}', onclick='return false', ng-click="fetch('service');tab=3") 服务产品
		
	.content(style='height: 186px;overflow:hidden;*position:relative;*top:2px')
		ul: li(ng-repeat='p in data.items', ng-class='{selectedItem : productionSelectedIndex == $index}', ng-mouseenter='selectProduction($index)')
			.icon
				//- img(src="img/blank.gif", gf-src='{{p.id}}', gf-bg, gf-small, ng-show='p.product_type != "fund"');
				//- img(src="img/blank.gif", gf-src='fund', gf-bg, gf-small, ng-show='p.product_type == "fund"');
				img(src="img/blank.gif", gf-src='{{p.id}}', gf-bg, gf-small, gf-img-type='p.product_type');
			.info
				if !alone
					a.buy(ng-hide='p.offline||p.hot<0', href='javascript:;', ng-click='purchase(p.id, p.pricing[0].period||1, p.extra.min_amount||1, p.extra.charge_type||0)') 购买
				div
					.indexIcon {{$index + 1}}
					//-.productionLevelFloat: span(gf-star, gf-star-score="{{p.risk_level}}")
					a.mlem.productionName(href='#{alone}#/{{p.product_type}}/detail?pid={{p.id}}') {{p.title}}
				p.productionValue 产品价格：
					span {{p.pricing[0].price}}元
				p.productionLevel 风险等级：
					span(ng-show='p.product_type == "fund"') {{fundRiskLevelLabels[p.risk_level]}}
					span(ng-show='p.product_type == "service"') {{riskLevelLabels[p.risk_level]}}
	
.mtop20.border.radius8.recommendProductionTops(ng-controller='App.HotCtrl', ng-show='hot.items.length')
	h2 产品推荐
	ul
		li(ng-repeat='h in hot.items.slice(0, 4)', ng-mouseover='hover=true', ng-mouseleave='hover=false')
			.icon
				img(src="img/blank.gif", gf-src='{{h.id}}', gf-bg, gf-small, gf-img-type='p.product_type');
			.info
				if !alone
					a.buy(ng-hide='!hover || h.offline||h.hot<0', href='javascript:;', ng-click='purchase(h.id, h.pricing[0].period||1, h.extra.min_amount||1, h.extra.charge_type||0)') 购买
				a.nfc(href='#{alone}#/{{h.product_type}}/detail?pid={{h.id}}', title='{{h.title}}') {{h.title}}
				br
				span.afc ￥{{h.pricing[0].price}}元/{{periodLabel[h.pricing[0].period]}}